import React,{Component} from "react";
import {withRouter} from "react-router";

class WithRouter extends Component{
    render() {
        let {getCurrentPath,location:{pathname}}=this.props;
        getCurrentPath(pathname)
        return <>{null}</>
    }
}
export default withRouter(WithRouter)